package com.ruoyi.supervise.mapper;

import java.util.List;

import com.ruoyi.supervise.domain.ProsOpinionInfo;
import com.ruoyi.supervise.domain.SurveyResults;
import com.ruoyi.supervise.domain.SurveyResultsApplyInfo;

/**
 * @ClassName: SurveyResultsMapper
 * @Description: 勘察成果审查mapper
 * @Author wtj
 * @DateTime 2020年3月13日 下午4:43:20
 */
public interface SurveyResultsMapper 
{
	/**
	 * @Title: selectSurveyResultsList
	 * @Description: 查询出勘察成果审查table数据
	 * @Author wtj
	 * @DateTime 2020年3月16日 上午9:08:32
	 * @param surveyResults
	 * @return
	 */
  public List<SurveyResults> selectSurveyResultsList(SurveyResults surveyResults);
  
  /**
   * @Title: selectSurveyResultsApplyInfoByGuid
   * @Description: 勘察成果申请信息数据
   * @Author wtj
   * @DateTime 2020年3月17日 上午11:54:02
   * @param surveyResultsApplyInfo
   * @return
   */
public SurveyResultsApplyInfo selectSurveyResultsApplyInfoByGuid(String guid);

/**
 * @Title: selectProsOpinionInfoByDataGuid
 * @Description: 根据勘察成果审查Pros_ProspectReview表的DataGuid查询Pros_OpinionInfo表
 * @Author wtj
 * @DateTime 2020-7-28 11:59:17
 * @param dataGuid
 * @return
 */
public List<ProsOpinionInfo> selectProsOpinionInfoByDataGuid(String dataGuid);

/**
 * @Title: selectProsOpinionInfoByPreviousStateGuid
 * @Description: 根据日志时间间隔的计算方法，用不同的条件查询Pros_ProspectReview表
 * @Author wtj
 * @DateTime 2020-7-28 17:01:41
 * @param poi
 * @return
 */
public ProsOpinionInfo selectProsOpinionInfoByPreviousStateGuid(ProsOpinionInfo poi);

/**
 * @Title: selectProsOpinionInfoMaxTime
 * @Description: 根据DataGuid查询Pros_OpinionInfo表中Role为审查人员复审或者审查人员初审的OperateDate的最大值
 * @Author wtj
 * @DateTime 2020-7-28 17:55:06
 * @param dataGuid
 * @return
 */
public String selectProsOpinionInfoMaxTime(ProsOpinionInfo poi);

/**
 * @Title: selectProsOpinionInfoByGuid
 * @Description: 根据Guid查询Pros_OpinionInfo表
 * @Author wtj
 * @DateTime 2020-7-29 15:45:50
 * @param guid
 * @return
 */
public ProsOpinionInfo selectProsOpinionInfoByGuid(String guid);

/**
 * @Title: selectProsOpinionInfoByPGuid
 * @Description: 根据PGuid查询Pros_OpinionInfo表
 * @Author wtj
 * @DateTime 2020-9-30 17:00:35
 * @param pGuid
 * @return
 */
public List<ProsOpinionInfo> selectProsOpinionInfoByPGuid(String pGuid);
}
